-
Home
-
Offload, AI & Optimize with Cloudflare Images
-
1.7.0
-
Code
-
Classes
- Image
Total Complexity |
44 |
Dependencies |
1 |
Dependents |
2 |
Total lines |
399 |
Lines of code |
142 |
Logical lines of code |
84 |
Comment lines |
194 |
Methods |
15 |
Properties |
9 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
generate_url() |
A |
46 |
12 |
35 |
process() |
A |
54 |
8 |
20 |
check_if_cf_image() |
S |
58 |
4 |
15 |
attachment_url_to_post_id() |
S |
56 |
3 |
18 |
process_image() |
S |
67 |
4 |
8 |
get_attachment_id() |
S |
65 |
3 |
9 |
get_processed() |
S |
70 |
2 |
6 |
__construct() |
S |
65 |
1 |
9 |
replace_cdn_url() |
S |
74 |
1 |
4 |
get_src() |
S |
82 |
1 |
3 |
get_srcset() |
S |
82 |
1 |
3 |
is_source_tag() |
S |
78 |
1 |
3 |
get_cf_image() |
S |
82 |
1 |
3 |
get_width() |
S |
82 |
1 |
3 |
get_id() |
S |
82 |
1 |
3 |